﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="SimpleForm_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
</head>
<body>
	<form id="form1" runat="server">
	<t:Manager runat="server">
		<Includes>
			<t:StyleFileInclude Src="~/Res/CSS/Main.css" />
		</Includes>
		<Scenarios>
			<t:PostScenario runat="server" ID="psType" PostControlIds="rblType" UpdatePanelIds="upd" />
		</Scenarios>
	</t:Manager>
	<div>
		<table class="form">
			<tr>
				<th>
					<t:Label runat="server" ID="lblType" Text="Control type" For="rblType" />
				</th>
				<td>
					<t:RadioButtonList runat="server" ID="rblType">
						<ValueChanged PostScenarioId="psType" OnServer="rblType_ValueChanged" />
						<Items>
							<t:ListItem Text="Text box" Value="Text box">
							</t:ListItem>
							<t:ListItem Text="Drop down list" Value="Drop down list">
							</t:ListItem>
						</Items>
					</t:RadioButtonList>
				</td>
			</tr>
			<tr>
				<th>
					<t:Label runat="server" ID="lblField" Text="Field" />
				</th>
				<td>
					<t:UpdatePanel runat="server" ID="upd">
					</t:UpdatePanel>
				</td>
			</tr>
			<tr>
				<th>
					<t:Label runat="server" ID="lblResult" Text="Result" />
				</th>
				<td>
					<t:UpdatePanel runat="server" ID="upd2">
					</t:UpdatePanel>
				</td>
			</tr>
		</table>
	</div>
	</form>
</body>
</html>
